package hsintiao.com.xintiaoAPP.mapper;

import hsintiao.com.xintiaoAPP.entity.Feedback;
import hsintiao.com.xintiaoAPP.entity.HelpFeedback;
import hsintiao.com.xintiaoAPP.entity.HelpFeedbackType;
import org.apache.ibatis.annotations.Param;

import java.util.List;

//帮助与反馈
public interface HelpMapper {

    List<HelpFeedback> getTopHelp(@Param(value = "istop") Boolean istop);//获取帮助反馈首页的基本帮助信息

    List<HelpFeedback> getAllHelp();//获取帮助反馈全部的基本帮助信息


    HelpFeedback getDetailedHelp(@Param(value = "id") Long id);

    void saveFeedback(Feedback feedback);//反馈信息

    List<HelpFeedbackType> getAllHelpType();


}
